'use strict'

const path = require('path')

// 一个打包配置实例
module.exports = {
  mode: 'production',
  entry: './src/index.js',
  // 指定输出文件夹
  output: {
    path: path.resolve(__dirname, 'dist'),
    filename: 'bundle.js'
  }
}